<?php
/**
 * Created by PhpStorm.
 * User: XINJK
 * Date: 2015/12/6
 * Time: 10:52
 */
namespace Home\Model;
use Think\Model;
class CarModel extends Model{
    public function AddCar($data){
        return $this -> add($data);
    }
    public function getCarList($condition,$filed = '*'){
        return $this ->field($filed) ->where($condition) ->select();
    }
}